package first.group.ssh.writebuffer;

import java.io.IOException;
import java.nio.ByteBuffer;
import java.nio.channels.SocketChannel;

public abstract class WriteContent {
    public abstract boolean hasRemaining();
    public abstract int getRemaining();
    public abstract int write(ByteBuffer buffer);
    public abstract int write(SocketChannel channel) throws IOException;
}
